1 00:00:00,510 --> 00:00:02,340 I'll go ahead and turn off my game. 2 00:00:03,800 --> 00:00:08,870 And we're going to look for the zombies in our zombie spawn, Right? 3 00:00:10,750 --> 00:00:12,220 And they. 4 00:00:13,520 --> 00:00:15,380 Are down in server storage. 5 00:00:16,420 --> 00:00:17,290 It's just one. 6 00:00:17,590 --> 00:00:18,010 We have one. 7 00:00:18,010 --> 00:00:20,470 Oh, we had that one from the the barrel. 8 00:00:20,470 --> 00:00:23,060 The barrel will where you release the valve. 9 00:00:23,080 --> 00:00:23,520 All right. 10 00:00:23,530 --> 00:00:26,620 But this is the one that spawns right around in here. 11 00:00:26,620 --> 00:00:27,840 These zombies. 12 00:00:27,850 --> 00:00:29,500 Let's open that up. 13 00:00:29,800 --> 00:00:31,030 And then. 14 00:00:31,780 --> 00:00:34,450 Let's take a look at the give points. 15 00:00:35,910 --> 00:00:37,080 I'll close this. 16 00:00:39,740 --> 00:00:42,660 So I'm going to add the tags with code. 17 00:00:42,680 --> 00:00:45,140 I could use the tag editor for this. 18 00:00:45,140 --> 00:00:50,120 If I use the tag editor right here on the zombie and server storage, we would tag them, no problem 19 00:00:50,120 --> 00:00:51,860 as they're spawning into the world. 20 00:00:51,890 --> 00:00:59,030 But we need to remove the tags too because we'll flood our tagging system, whereas the ones are just 21 00:00:59,030 --> 00:00:59,920 in the workspace. 22 00:00:59,930 --> 00:01:03,740 It's not so bad because there's not going to be they're not going to be spawning over and over. 23 00:01:03,980 --> 00:01:06,800 Let's go to that give point script. 24 00:01:06,800 --> 00:01:09,410 I'll get that collection service here. 25 00:01:09,440 --> 00:01:13,430 Game, get service, collection service. 26 00:01:13,430 --> 00:01:16,250 When this script runs, when the zombie is spawned. 27 00:01:16,250 --> 00:01:24,200 And in the world, we're going to add a tag, we'll say see as colon add tag. 28 00:01:24,200 --> 00:01:25,340 It's that easy. 29 00:01:25,340 --> 00:01:28,400 And we're going to put it on the zombie, the character. 30 00:01:28,400 --> 00:01:29,780 So that's the character right there. 31 00:01:29,780 --> 00:01:32,060 Script Dot Parent That's the script. 32 00:01:32,060 --> 00:01:33,230 That's the parent. 33 00:01:33,230 --> 00:01:36,560 Let's put our char right here. 34 00:01:36,560 --> 00:01:38,480 Control Let's just spell it. 35 00:01:38,480 --> 00:01:41,900 Char And then we have the hat, the tag name. 36 00:01:42,440 --> 00:01:44,960 So Chuck Target. 37 00:01:45,860 --> 00:01:46,640 Nice. 38 00:01:46,640 --> 00:01:50,930 Now, when the zombie dies, let's remove the tag. 39 00:01:51,640 --> 00:01:51,970 Right. 40 00:01:51,970 --> 00:01:53,560 And that's how I was going to do. 41 00:01:54,370 --> 00:01:59,070 Chuck won't attack you anymore if you die and the tag is removed. 42 00:01:59,080 --> 00:02:01,230 So that was the other way I was going to do it. 43 00:02:01,240 --> 00:02:03,190 Remember, we were checking the health. 44 00:02:04,150 --> 00:02:05,380 Let's go down to the bottom. 45 00:02:05,380 --> 00:02:06,370 Not in here. 46 00:02:06,370 --> 00:02:12,820 So this is the tagging for our creator tag to see who credited who for kills. 47 00:02:13,540 --> 00:02:15,040 Let's do a control V. 48 00:02:15,040 --> 00:02:17,230 This isn't going to be ad tag. 49 00:02:17,230 --> 00:02:20,390 This is going to be remove tag. 50 00:02:20,410 --> 00:02:21,580 There we go. 51 00:02:23,120 --> 00:02:24,590 And the arguments are the same. 52 00:02:24,590 --> 00:02:28,640 The char and the the name of the tag. 53 00:02:29,520 --> 00:02:33,660 Now, when zombies start coming out, Chuck is going to be chasing them around. 54 00:02:33,660 --> 00:02:36,990 But let's make another modification on Chuck. 55 00:02:37,020 --> 00:02:39,870 He dies pretty quick, right? 56 00:02:39,870 --> 00:02:42,030 So we have this Chuck Norris guy right here. 57 00:02:42,030 --> 00:02:43,200 He's in our workspace. 58 00:02:43,200 --> 00:02:44,250 There it is. 59 00:02:44,250 --> 00:02:51,390 And his humanoid has a health of 100 and a max health of 100. 60 00:02:51,780 --> 00:02:55,860 Let's crank up this max health to 400. 61 00:02:57,060 --> 00:02:58,920 And then where is his health? 62 00:02:58,920 --> 00:02:59,970 Right up here. 63 00:03:00,270 --> 00:03:02,480 Health will be 400. 64 00:03:02,490 --> 00:03:09,960 He'll be able to kill more zombies, and then we're going to respawn them to Chuck's too far away from 65 00:03:09,960 --> 00:03:11,070 the other zombies. 66 00:03:11,070 --> 00:03:12,420 They're spawning. 67 00:03:13,170 --> 00:03:14,220 Like way over here. 68 00:03:14,220 --> 00:03:14,730 Right. 69 00:03:14,730 --> 00:03:17,310 Let me hit a F frame in. 70 00:03:17,730 --> 00:03:23,070 Yeah, This is their spawn locations, so let's put chalk there when we test things out. 71 00:03:23,070 --> 00:03:26,400 Let's go to view output window. 72 00:03:27,130 --> 00:03:30,450 We can clean this up and we'll go ahead and test it. 73 00:03:30,460 --> 00:03:31,660 Oh, let's do a play from here. 74 00:03:31,690 --> 00:03:32,890 Go to home. 75 00:03:33,460 --> 00:03:34,810 Play from here. 76 00:03:40,220 --> 00:03:40,670 All right. 77 00:03:40,670 --> 00:03:42,260 Zombie should start spawning. 78 00:03:42,260 --> 00:03:43,730 We can get rid of this, too. 79 00:03:43,760 --> 00:03:44,660 We don't need. 80 00:03:44,660 --> 00:03:46,160 We don't need that target. 81 00:03:46,160 --> 00:03:48,260 But we can see if it starts growing. 82 00:03:48,290 --> 00:03:49,660 See, there's other zombies in there. 83 00:03:49,670 --> 00:03:50,780 Let's see if it's growing. 84 00:03:51,260 --> 00:03:52,340 Ooh, it is growing. 85 00:03:52,610 --> 00:03:53,510 A lot of zombies. 86 00:03:53,540 --> 00:03:54,350 Go get them, Chuck. 87 00:03:57,280 --> 00:03:58,110 Yeah. 88 00:03:59,290 --> 00:03:59,960 Boom. 89 00:04:01,860 --> 00:04:03,150 That's pretty good. 90 00:04:05,310 --> 00:04:05,580 All right. 91 00:04:05,580 --> 00:04:10,330 In the next video, we'll do a sponsor for him because he will eventually die. 92 00:04:10,350 --> 00:04:12,420 We want to check to see if he's in a workspace. 93 00:04:12,450 --> 00:04:14,340 If he's not, we're going to make a new chop.